﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PersianProxy.Servers.ASP.NET.Handlers
{
    public class Common
    {
        public static string GetContentType(string Extention)
        {
            switch (Extention)
            {
                case ".bmp":
                    return "Image/bmp";
                case ".gif":
                    return "Image/gif";
                case ".jpg":
                    return "Image/jpeg";
                case ".png":
                    return "Image/png";
            }
            return "";
        }
    }
}